package com.lzw.breezeNovel.model.entity.pojo.novel;

import com.lzw.breezeNovel.model.entity.query.BaseQuery;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

/**
 * @author 清风明月
 * @Package com.lzw.breezeNovel.model.entity.pojo
 * @date 2025/3/3
 * @description 广告实体类
 */
@Data
@SuppressWarnings("all")
public class Advertisement extends BaseQuery {

    @Schema(description = "广告id")
    private Long id;

    @Schema(description = "广告图片")
    private String image;

    @Schema(description = "广告标题")
    private String title;

    @Schema(description = "广告关联的小说")
    private String novel;

    @Schema(description = "广告位置")
    private Integer position;

    @Schema(description = "广告状态")
    private Integer status;

    @Schema(description = "广告价格")
    private BigDecimal free;

    @Schema(description = "广告联系人")
    private String phone;

    @Schema(description = "广告开始时间")
    private Date startTime;

    @Schema(description = "广告结束时间")
    private Date endTime;

    @Schema(description = "广告天数")
    private Integer day;

    @Schema(description = "广告暂停后还剩下多少时间")
    private Integer time;

}
